﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="DanhSachDonHang.aspx.cs" Inherits="PhanMemQLCTQuangVinh.QLBoPhan_ThanhPham.QLPhanBoThanhPham.DanhSachDonHang" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>DANH SÁCH ĐƠN HÀNG </h2>
<div>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
    <Columns>
        <asp:BoundField DataField="MaDH" HeaderText="Mã ĐH" />
        <asp:BoundField DataField="TenKH" HeaderText="Tên khách hàng" />
        <asp:BoundField DataField="NgayTaoDH" DataFormatString="{0:dd/MM/yyyy}" 
            HeaderText="Ngày Đặt" />
        <asp:BoundField DataField="NgayGH" DataFormatString="{0:dd/MM/yyyy}" 
            HeaderText="Ngày Giao" />
        <asp:BoundField DataField="TrangThai" HeaderText="Trạng Thái" />
        <asp:TemplateField HeaderText="Xử Lý ĐH">
            <ItemTemplate>
                <asp:HyperLink ID="HyperLink1" runat="server" 
                    NavigateUrl='<%# "~/QLBoPhan_ThanhPham/QLPhanBoThanhPham/ChiTietDH.aspx?MaDH=" + Eval("MaDH") %>' 
                    Text="Xử Lý ĐH"></asp:HyperLink>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
</div>
</asp:Content>
